package com.ljm.sys.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljm.sys.auth.dto.SysAuthResourceDto;
import com.ljm.sys.auth.entity.SysAuthResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单 Mapper 接口
 * </p>
 *
 * @author ming
 * @since 2019-03-28
 */
public interface SysAuthResourceMapper extends BaseMapper<SysAuthResource> {

    List<SysAuthResourceDto> getCurUserResource(@Param("userId")Long userId);

}
